﻿@page
@{ Layout = "_Layout"; }
@section Styles{
    <link href="/sitefiles/assets/lib/geeks/css/theme.min.css" rel="stylesheet" type="text/css" />
}

<el-row :gutter="8" class="mx-3">
    <el-col :span="8" class="text-center">
        <apexchart type="radialBar" :options="passChartOptions" :series="passSeries" height="310"></apexchart>
        <div class="py-1"></div>
        <apexchart type="radialBar" :options="pass1ChartOptions" :series="pass1Series" height="310"></apexchart>
    </el-col>
    <el-col :span="16">
        <el-card>
            <div>
                <el-row :gutter="8" class="bg-light p-3">
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.planCredit }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">计划学分</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.totalCreditCourse }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">必修课学分</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.totalCreditSelectCourse }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">选修课学分</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                </el-row>
                <el-row :gutter="8" class="mt-3 bg-light p-3">
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.totalCourse }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">课程数量</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.countCourse }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">必修课数量</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.countSelectCourse }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">选修课数量</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                </el-row>
                <el-row :gutter="8" class="mt-3 bg-light p-3">
                    <el-col :span="6">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.totalUser }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">培训人数</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="6">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.totalPassUser }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">完成人数</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="6">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.totalPass1User }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">达标人数</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="6">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.avgCredit }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">平均学分</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                </el-row>
                <el-row :gutter="8" class="mt-3 bg-light p-3">
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.totalOverCourseUser }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">必修课完成人数</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.avgCourseCredit }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">必修课平均学分</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <el-progress type="circle" :percentage="utils.formatPercentFloat(plan.totalOverCourseUser,plan.totalUser)" width="88" :stroke-width="10" color="#67C23A"></el-progress>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">必修课完成率</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                </el-row>
                <el-row :gutter="8" class="mt-3 bg-light p-3">
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.totalOverSelectCourseUser }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">选修课完成人数</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <span>{{ plan.avgOverSelectCredit }}</span>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">选修课平均学分</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                    <el-col :span="8">
                        <div class="card rounded-0 bg-white border-top border-muted border-3 card-hover-with-icon">
                            <div class="card-body p-3">
                                <div class="d-flex align-items-center justify-content-between">
                                    <div class="fw-bold">
                                        <el-progress type="circle" :percentage="utils.formatPercentFloat(plan.totalOverSelectCourseUser,plan.totalUser)" width="88" :stroke-width="10" color="#67C23A"></el-progress>
                                    </div>
                                    <span class="px-3 py-2 rounded-pill card-icon">选修课完成率</span>
                                </div>
                            </div>
                        </div>
                    </el-col>
                </el-row>
            </div>
        </el-card>
    </el-col>
</el-row>

@section Scripts{
    <script src="/sitefiles/assets/lib/apexcharts/apexcharts.js" type="text/javascript"></script>
    <script src="/sitefiles/assets/lib/apexcharts/vue-apexcharts.js" type="text/javascript"></script>
    <script src="/sitefiles/assets/js/admin/study/studyPlanManagerAnalysis.js" type="text/javascript"></script>
}